home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / libshade / smakefile < prev    next >
Makefile  |  1994-08-20  |  11KB  |  402 lines

  1. #
  2. # Makefile for rayshade.
  3. #
  4. # Craig Kolb
  5. #
  6. # SMakefile,v 4.1 1994/08/09 08:04:18 explorer Exp
  7. #
  8. # Bin directory
  9. #
  10. BINDIR = /usr/local 
  11. #
  12. # If you are using LINDA, add -DLINDA
  13. # If you are running on a Multimax, add -DMULTIMAX -DSHAREDMEM
  14. # Be sure to add any necessary floating point hardware switches.
  15. OPTIMIZE = OPTIMIZE
  16. URTINC = 
  17. CCFLAGS = CPU=68040 NOSTKCHK MATH=68881 IGNORE=85+100+161+154+84+132 STRMERGE\
  18. DATA=AUTO DEFINE=exit=myexit
  19. CC = sc
  20. MKDEP = /mkdep
  21. YACC = bison -y
  22. LEX = flex
  23. RANLIB = 
  24.  
  25. LIBRAYDIR = /libray
  26. INCLUDE = IDIR=/ IDIR=$(LIBRAYDIR) IDIR=$(LIBRAYDIR)/libcommon\
  27. IDIR=$(LIBRAYDIR)/libobj IDIR=$(LIBRAYDIR)/libsurf IDIR=$(LIBRAYDIR)/libtext
  28. YFLAGS = -d
  29.  
  30. CFLAGS = $(CCFLAGS) $(URTINC) $(INCLUDE) $(OPTIMIZE)
  31. SHELL = /bin/sh
  32.  
  33. .c.o:
  34.     $(CC) $(CFLAGS) $<
  35.  
  36. LIB = shade.lib
  37.  
  38. SUPPORT_C =    builtin.c symtab.c misc.c lightdef.c objdef.c options.c \
  39.         stats.c surfdef.c zbuf.c
  40.  
  41. SUPPORT_H =    /config.h datatypes.h funcdefs.h \
  42.         /patchlevel.h rayshade.h zbuf.h
  43.  
  44. PARSE_C =    yacc.c lex.c
  45.  
  46. DRIVE_C =    setup.c viewing.c shade.c picture.c
  47.  
  48. DRIVE_H =    y.tab.h defaults.h viewing.h raytrace.h picture.h
  49.  
  50. SUPPORT_O = builtin.o symtab.o misc.o lightdef.o objdef.o options.o stats.o\
  51. surfdef.o zbuf.o
  52.  
  53. PARSE_O = yacc.o lex.o
  54.  
  55. DRIVE_O = setup.o viewing.o shade.o picture.o
  56.  
  57. HFILES = $(DRIVE_H) $(SUPPORT_H)
  58.  
  59. CFILES = $(DRIVE_C) $(PARSE_C) $(SUPPORT_C)
  60.  
  61. SHFILES = Makefile.SH
  62.  
  63. OFILES = $(DRIVE_O) $(PARSE_O) $(SUPPORT_O)
  64.  
  65. DEPENDSRC = $(DRIVE_C) lex.l yacc.y $(SUPPORT_C)
  66.  
  67. $(LIB): $(OFILES)
  68.     oml $(LIB) r $(OFILES)
  69.  
  70. #
  71. # Uncomment the following rule if using Linda.
  72. #
  73. #raytrace.lo: raytrace.cl
  74. #    $(LCC) $(CFLAGS) -c raytrace.cl
  75.  
  76. #
  77. # End of configuration section
  78. #
  79. install:    rayshade
  80.         mv rayshade $(BINDIR)/rayshade
  81.  
  82. clean:
  83.     delete \#?.o $(LIB) y.tab.h yacc.c lex.c QUIET
  84.  
  85. realclean:
  86.     delete \#?.o $(LIB) y.tab.h QUIET
  87.     delete \#?.orig Makefile QUIET
  88.  
  89. lint:
  90.     lint $(CFLAGS) -x $(CFILES) -lm
  91.  
  92. tags:
  93.     ctags -t $(CFILES)
  94.  
  95. # DO NOT DELETE THIS LINE
  96. setup.o: setup.c
  97. setup.o: /config.h
  98. #setup.o: /include/rle.h
  99. #setup.o: /include/rle_code.h
  100. #setup.o: /include/rle_raw.h
  101. setup.o: /libray/libcommon/color.h
  102. setup.o: /libray/libcommon/common.h
  103. setup.o: /libray/libcommon/error.h
  104. setup.o: /libray/libcommon/expr.h
  105. setup.o: /libray/libcommon/ray.h
  106. setup.o: /libray/libcommon/transform.h
  107. setup.o: /libray/libcommon/vector.h
  108. setup.o: /libray/liblight/infinite.h
  109. setup.o: /libray/liblight/light.h
  110. setup.o: /libray/libobj/bounds.h
  111. setup.o: /libray/libobj/geom.h
  112. setup.o: /libray/libobj/list.h
  113. setup.o: /libray/libsurf/atmosphere.h
  114. setup.o: /libray/libsurf/surface.h
  115. setup.o: defaults.h
  116. setup.o: funcdefs.h
  117. setup.o: options.h
  118. setup.o: picture.h
  119. setup.o: rayshade.h
  120. setup.o: stats.h
  121. setup.o: viewing.h
  122. viewing.o: viewing.c
  123. viewing.o: /config.h
  124. #viewing.o: /include/rle.h
  125. #viewing.o: /include/rle_code.h
  126. #viewing.o: /include/rle_raw.h
  127. viewing.o: /libray/libcommon/color.h
  128. viewing.o: /libray/libcommon/common.h
  129. viewing.o: /libray/libcommon/error.h
  130. viewing.o: /libray/libcommon/expr.h
  131. viewing.o: /libray/libcommon/ray.h
  132. viewing.o: /libray/libcommon/sampling.h
  133. viewing.o: /libray/libcommon/transform.h
  134. viewing.o: /libray/libcommon/vector.h
  135. viewing.o: /libray/libobj/bounds.h
  136. viewing.o: /libray/libobj/geom.h
  137. viewing.o: defaults.h
  138. viewing.o: funcdefs.h
  139. viewing.o: options.h
  140. viewing.o: picture.h
  141. viewing.o: rayshade.h
  142. viewing.o: stats.h
  143. viewing.o: viewing.h
  144. shade.o: shade.c
  145. shade.o: /config.h
  146. shade.o: /libray/libcommon/color.h
  147. shade.o: /libray/libcommon/common.h
  148. shade.o: /libray/libcommon/error.h
  149. shade.o: /libray/libcommon/expr.h
  150. shade.o: /libray/libcommon/ray.h
  151. shade.o: /libray/libcommon/transform.h
  152. shade.o: /libray/libcommon/vector.h
  153. shade.o: /libray/liblight/light.h
  154. shade.o: /libray/libobj/bounds.h
  155. shade.o: /libray/libobj/geom.h
  156. shade.o: /libray/libsurf/atmosphere.h
  157. shade.o: /libray/libsurf/surface.h
  158. shade.o: /libray/libtext/mapping.h
  159. shade.o: /libray/libtext/texture.h
  160. shade.o: funcdefs.h
  161. shade.o: options.h
  162. shade.o: rayshade.h
  163. shade.o: stats.h
  164. picture.o: picture.c
  165. picture.o: /config.h
  166. #picture.o: /include/rle.h
  167. #picture.o: /include/rle_code.h
  168. #picture.o: /include/rle_raw.h
  169. picture.o: /libray/libcommon/color.h
  170. picture.o: /libray/libcommon/common.h
  171. picture.o: /libray/libcommon/error.h
  172. picture.o: /libray/libcommon/expr.h
  173. picture.o: /libray/libcommon/ray.h
  174. picture.o: /libray/libcommon/transform.h
  175. picture.o: /libray/libcommon/vector.h
  176. picture.o: /libray/libobj/bounds.h
  177. picture.o: /libray/libobj/geom.h
  178. picture.o: funcdefs.h
  179. picture.o: options.h
  180. picture.o: picture.h
  181. picture.o: rayshade.h
  182. picture.o: stats.h
  183. picture.o: viewing.h
  184. lex.o: lex.l
  185. lex.o: /config.h
  186. lex.o: rayshade.h
  187. lex.o: /libray/libobj/geom.h
  188. lex.o: /libray/libcommon/common.h
  189. lex.o: /libray/libcommon/expr.h
  190. lex.o: /libray/libcommon/vector.h
  191. lex.o: /libray/libcommon/ray.h
  192. lex.o: /libray/libcommon/color.h
  193. lex.o: /libray/libcommon/transform.h
  194. lex.o: /libray/libcommon/error.h
  195. lex.o: /libray/libobj/bounds.h
  196. lex.o: funcdefs.h
  197. lex.o: /libray/liblight/light.h
  198. lex.o: /libray/libsurf/atmosphere.h
  199. lex.o: /libray/libsurf/surface.h
  200. lex.o: /libray/libtext/texture.h
  201. lex.o: /libray/libtext/mapping.h
  202. lex.o: symtab.h
  203. #lex.o: y.tab.h 
  204. #    $(CC) $(CCFLAGS) $(URTINC) $(INCLUDE) $>.c
  205.     $(LEX) lex.l
  206.     copy lex.yy.c lex.c
  207.     delete lex.yy.c
  208.     $(CC) $(CFLAGS) lex.c
  209. yacc.o: yacc.y
  210. yacc.o: rayshade.h
  211. yacc.o: /libray/libobj/geom.h
  212. yacc.o: /libray/libcommon/common.h
  213. yacc.o: /config.h
  214. yacc.o: /libray/libcommon/expr.h
  215. yacc.o: /libray/libcommon/vector.h
  216. yacc.o: /libray/libcommon/ray.h
  217. yacc.o: /libray/libcommon/color.h
  218. yacc.o: /libray/libcommon/transform.h
  219. yacc.o: /libray/libcommon/error.h
  220. yacc.o: /libray/libobj/bounds.h
  221. yacc.o: funcdefs.h
  222. yacc.o: symtab.h
  223. yacc.o: builtin.h
  224. yacc.o: /libray/libsurf/atmosphere.h
  225. yacc.o: /libray/libsurf/surface.h
  226. yacc.o: /libray/libtext/texture.h
  227. yacc.o: /libray/libtext/mapping.h
  228. yacc.o: /libray/libimage/image.h
  229. yacc.o: /libray/liblight/light.h
  230. yacc.o: options.h
  231. yacc.o: stats.h
  232. yacc.o: viewing.h
  233. yacc.o: /libray/libobj/blob.h
  234. yacc.o: /libray/libobj/box.h
  235. yacc.o: /libray/libobj/cone.h
  236. yacc.o: /libray/libobj/csg.h
  237. yacc.o: /libray/libobj/cylinder.h
  238. yacc.o: /libray/libobj/disc.h
  239. yacc.o: /libray/libobj/grid.h
  240. yacc.o: /libray/libobj/hf.h
  241. yacc.o: /libray/libobj/instance.h
  242. yacc.o: /libray/libobj/list.h
  243. yacc.o: /libray/libobj/plane.h
  244. yacc.o: /libray/libobj/poly.h
  245. yacc.o: /libray/libobj/sphere.h
  246. yacc.o: /libray/libobj/torus.h
  247. yacc.o: /libray/libobj/triangle.h
  248. yacc.o: /libray/libobj/rotspline.h
  249. yacc.o: /libray/liblight/point.h
  250. yacc.o: /libray/liblight/infinite.h
  251. yacc.o: /libray/liblight/spot.h
  252. yacc.o: /libray/liblight/jittered.h
  253. yacc.o: /libray/liblight/extended.h
  254. yacc.o: /libray/liblight/projector.h
  255. yacc.o: /libray/libtext/imagetext.h
  256. yacc.o: /libray/libtext/blotch.h
  257. yacc.o: /libray/libtext/bump.h
  258. yacc.o: /libray/libtext/checker.h
  259. yacc.o: /libray/libtext/cloud.h
  260. yacc.o: /libray/libtext/fbm.h
  261. yacc.o: /libray/libtext/fbmbump.h
  262. yacc.o: /libray/libtext/gloss.h
  263. yacc.o: /libray/libtext/marble.h
  264. yacc.o: /libray/libtext/mount.h
  265. yacc.o: /libray/libtext/sky.h
  266. yacc.o: /libray/libtext/stripe.h
  267. yacc.o: /libray/libtext/windy.h
  268. yacc.o: /libray/libtext/wood.h
  269. yacc.o: /libray/libsurf/fog.h
  270. yacc.o: /libray/libsurf/fogdeck.h
  271. yacc.o: /libray/libsurf/mist.h
  272. yacc.o: /libray/libcommon/rotate.h
  273. yacc.o: /libray/libcommon/scale.h
  274. yacc.o: /libray/libcommon/translate.h
  275. yacc.o: /libray/libcommon/xform.h
  276.     $(YACC) $(YFLAGS) yacc.y
  277.     copy y.tab.c yacc.c
  278.     delete y.tab.c
  279.     $(CC) $(CFLAGS) yacc.c
  280. #    $(CC) $(CCFLAGS) $(URTINC) $(INCLUDE) $>.c
  281. builtin.o: builtin.c
  282. builtin.o: /config.h
  283. builtin.o: /libray/libcommon/color.h
  284. builtin.o: /libray/libcommon/common.h
  285. builtin.o: /libray/libcommon/error.h
  286. builtin.o: /libray/libcommon/expr.h
  287. builtin.o: /libray/libcommon/ray.h
  288. builtin.o: /libray/libcommon/transform.h
  289. builtin.o: /libray/libcommon/vector.h
  290. builtin.o: /libray/libobj/bounds.h
  291. builtin.o: /libray/libobj/geom.h
  292. builtin.o: funcdefs.h
  293. builtin.o: rayshade.h
  294. symtab.o: symtab.c
  295. symtab.o: /config.h
  296. symtab.o: /libray/libcommon/color.h
  297. symtab.o: /libray/libcommon/common.h
  298. symtab.o: /libray/libcommon/error.h
  299. symtab.o: /libray/libcommon/expr.h
  300. symtab.o: /libray/libcommon/ray.h
  301. symtab.o: /libray/libcommon/transform.h
  302. symtab.o: /libray/libcommon/vector.h
  303. symtab.o: /libray/libobj/bounds.h
  304. symtab.o: /libray/libobj/geom.h
  305. symtab.o: builtin.h
  306. symtab.o: funcdefs.h
  307. symtab.o: rayshade.h
  308. symtab.o: symtab.h
  309. misc.o: misc.c
  310. misc.o: /config.h
  311. misc.o: /libray/libcommon/color.h
  312. misc.o: /libray/libcommon/common.h
  313. misc.o: /libray/libcommon/error.h
  314. misc.o: /libray/libcommon/expr.h
  315. misc.o: /libray/libcommon/ray.h
  316. misc.o: /libray/libcommon/transform.h
  317. misc.o: /libray/libcommon/vector.h
  318. misc.o: /libray/libobj/bounds.h
  319. misc.o: /libray/libobj/geom.h
  320. misc.o: funcdefs.h
  321. misc.o: options.h
  322. misc.o: rayshade.h
  323. misc.o: stats.h
  324. lightdef.o: lightdef.c
  325. lightdef.o: /config.h
  326. lightdef.o: /libray/libcommon/color.h
  327. lightdef.o: /libray/libcommon/common.h
  328. lightdef.o: /libray/libcommon/error.h
  329. lightdef.o: /libray/libcommon/expr.h
  330. lightdef.o: /libray/libcommon/ray.h
  331. lightdef.o: /libray/libcommon/transform.h
  332. lightdef.o: /libray/libcommon/vector.h
  333. lightdef.o: /libray/liblight/infinite.h
  334. lightdef.o: /libray/liblight/jittered.h
  335. lightdef.o: /libray/liblight/light.h
  336. lightdef.o: /libray/libobj/bounds.h
  337. lightdef.o: /libray/libobj/geom.h
  338. lightdef.o: funcdefs.h
  339. lightdef.o: options.h
  340. lightdef.o: rayshade.h
  341. objdef.o: objdef.c
  342. objdef.o: /config.h
  343. objdef.o: /libray/libcommon/color.h
  344. objdef.o: /libray/libcommon/common.h
  345. objdef.o: /libray/libcommon/error.h
  346. objdef.o: /libray/libcommon/expr.h
  347. objdef.o: /libray/libcommon/ray.h
  348. objdef.o: /libray/libcommon/transform.h
  349. objdef.o: /libray/libcommon/vector.h
  350. objdef.o: /libray/libobj/bounds.h
  351. objdef.o: /libray/libobj/geom.h
  352. objdef.o: funcdefs.h
  353. objdef.o: options.h
  354. objdef.o: rayshade.h
  355. objdef.o: stats.h
  356. options.o: options.c
  357. options.o: /config.h
  358. options.o: /libray/libcommon/color.h
  359. options.o: /libray/libcommon/common.h
  360. options.o: /libray/libcommon/error.h
  361. options.o: /libray/libcommon/expr.h
  362. options.o: /libray/libcommon/ray.h
  363. options.o: /libray/libcommon/transform.h
  364. options.o: /libray/libcommon/vector.h
  365. options.o: /libray/libobj/bounds.h
  366. options.o: /libray/libobj/geom.h
  367. options.o: funcdefs.h
  368. options.o: options.h
  369. options.o: rayshade.h
  370. options.o: stats.h
  371. options.o: viewing.h
  372. stats.o: stats.c
  373. stats.o: /config.h
  374. stats.o: /libray/libcommon/color.h
  375. stats.o: /libray/libcommon/common.h
  376. stats.o: /libray/libcommon/error.h
  377. stats.o: /libray/libcommon/expr.h
  378. stats.o: /libray/libcommon/ray.h
  379. stats.o: /libray/libcommon/transform.h
  380. stats.o: /libray/libcommon/vector.h
  381. stats.o: /libray/libobj/bounds.h
  382. stats.o: /libray/libobj/geom.h
  383. stats.o: funcdefs.h
  384. stats.o: options.h
  385. stats.o: rayshade.h
  386. stats.o: stats.h
  387. surfdef.o: surfdef.c
  388. surfdef.o: /config.h
  389. surfdef.o: /libray/libcommon/color.h
  390. surfdef.o: /libray/libcommon/common.h
  391. surfdef.o: /libray/libcommon/error.h
  392. surfdef.o: /libray/libcommon/expr.h
  393. surfdef.o: /libray/libcommon/ray.h
  394. surfdef.o: /libray/libcommon/transform.h
  395. surfdef.o: /libray/libcommon/vector.h
  396. surfdef.o: /libray/libobj/bounds.h
  397. surfdef.o: /libray/libobj/geom.h
  398. surfdef.o: /libray/libsurf/surface.h
  399. surfdef.o: funcdefs.h
  400. surfdef.o: rayshade.h
  401.